<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>国内折扣详情页</title>
    <!--引用第三方的样式-->
    <link rel="stylesheet" href="./lib/bootstrap/css/bootstrap.min.css">
    <!--引用样式重置文件-->
    <link rel="stylesheet/less" href="./css/base.less">
    <!--引用自己的样式文件-->
    <link rel="stylesheet/less" href="./css/details.less">
    <!--引用less.js-->
    <script src="./lib/less/less.min.js"></script>
</head>
<body>
<!--头部区域-->
<header id="header">
    <a href="inlanddiscount.html" class="arrow"><</a>

    <div class="txt">国内折扣</div>
    <a href="" class="app">
        <img src="./images/header_app.png" alt=""/>
    </a>
</header>
<!--商品详情部分-->
<section>
    <div class="boxes">
    </div>
</section>
<!--底部部分-->
<footer id="footer">
    <div class="row">
        <a href="#" class="col-xs-4">登录</a>
        <a href="#" class="col-xs-4">注册</a>
        <a href="#" class="col-xs-4"><img src="./images/top.jpg" alt="">返回顶部</a>
    </div>
    <p>
        <a href="#">手机app下载</a>
        <a href="#">慢慢买手机版 </a>
        --掌上比价平台
    </p>

    <p>m.manmanbuy.com</p>
</footer>
</body>
<script type="text/template" id="productId=1">
    {{each result as value i}}
    <div class="boxes">
        <h3>{{value.productName}}</h3>
        <h4>{{value.productPrice}}</h4>

        <div class="info">
            <span class="left">{{value.productFrom}}</span>
            <span class="addtime">{{value.productTime}}</span>
            <span class="right">{{value.productTips}}</span>
        </div>
        <div class="picture">
            {{#value.productImg}}
        </div>
        <div class="content">
            <p>{{value.productInfo}}</p>

            <p>{{value.productInfo1}}</p>

            <p>{{value.productInfo2}}</p>
        </div>
        <div class="buy">
            <a href="">
                <i>立即购买</i>
            </a>
        </div>
        <div class="img">
            <img src="./images/mmbweixin2.png" alt=""/>
        </div>
        <div class="comment">{{#value.productComment}}</div>
        <ul class="time">

        </ul>
    </div>
    {{/each}}
</script>

<!--引用jq-->
<script src="./lib/jquery/jquery.js"></script>
<!--引用bootstrap.js-->
<script src="./lib/bootstrap/js/bootstrap.min.js"></script>

<!--引用template.js-->
<script src="./lib/template/template.js"></script>
<!--引用自己的js-->
<script src="./js/details.js"></script>

</html>